<extend name="Public:template" />
<block name="page_header">
	<ul class="header-sub">
		<li class="previous"><a href="#" class="btn btn-default active" role="button" onClick="javascript:window.history.back(-1);return false;"><span class="icon icon-chevron-left"></span>返回</a></li>
		<li ><h3>订单详细</h3></li>
		<li class="next "><a href="{:U('Cust/index')}" class="btn btn-warning active" role="button">我的<span class="icon-white icon-user"></span></a></li>
	</ul>
</block>
<block name="page_body">
<ul class="list-group mt5">
	<li class="list-group-item blueGraBg mt5" >
		<h5 class="list-group-item-text"><span class="icon-white icon-file"></span>订单详情：{$orderDetail.order_type|m_order_type=false}</h5>
	</li>
	<li class="list-group-item">
		<p>【订单号码】：{$orderDetail.order_code}</p>
		<p>【下单时间】：{$orderDetail.cust_order_time|date="Y-m-d H:i",###}</p>
		<p>【订单状态】：{$orderDetail.order_status|m_order_status}</p>
		<p>【订单备注】：{$orderDetail.cust_order_status|m_cust_order_status}</p>
		<p>【订单总额】：	
			<span>
				<span class="deepRed">¥{$orderDetail.order_amt|number_format=###, 2,'.',''}</span>
				<if condition="$orderDetail['order_send_fee'] neq 0">
					(含¥{$orderDetail['order_send_fee']|number_format=###, 2,'.',''}运费)
				<else/>
					(免运费)
				</if>
			</span>
		</p>
	<li>
</ul>

<ul class="list-group mt5">
	<li class="list-group-item blueGraBg mt5">
		<h5 class="list-group-item-text"><span class="icon-white icon-home"></span>配送信息</h5>
	</li>
	<li class="list-group-item">
		<p>【联系方式】：{$orderDetail.cust_name}，{$orderDetail.cust_mobile}</p>
		<p>【配送地址】：{$orderDetail.cust_address}</p>
		<p>【时间要求】：{$orderDetail.cust_free_time}</p>
	<li>
</ul>

<ul class="list-group mt5">
	<li class="list-group-item yellowGraBg">
		<h5 class="list-group-item-text"><span class="icon-white icon-th-list"></span>商品清单</h5>
	<li>
	<volist name="orderItems" id="val">
	<li class="list-group-item" >
		<div class="row clearfix">
			<div class="col-xs-8 col-sm-8">
				<empty name="val.prod_link">
					{$i}.{$val.prod_name} {$val.prod_spec}
				<else/>
					<a href="{$val.prod_link}">{$i}.{$val.prod_name} {$val.prod_spec}</a>
				</empty>
				
			</div>
			<div class="col-xs-2 col-sm-2"><span  class="pull-right">¥{$val.prod_price_real}</span></div>
			<div class="col-xs-2 col-sm-2"><span class="btn-warning pull-right" style="border-radius:10px;padding:1px 3px;">×{$val.prod_num}</span></div>
		</div>
	</li>
	</volist>
</ul>
</block>
<block name="script_footer">
<script type="text/javascript">
$(document).ready(function(){

})
</script>
</block>